/**
 * Mot so hang su dung trong game
 */
package model;

/**
 * @author heroandtn3
 * @date Oct 22, 2012
 */
public class Constant {
	// some directory
	public final static String IMG_DIR = "data/images/";
	public final static String BUTTON_DIR = IMG_DIR + "buttons/";
	public final static String BG_DIR = IMG_DIR + "backgrounds/";
	public final static String PIE_DIR = IMG_DIR + "pieces/";
	public final static String REC_DIR = IMG_DIR + "pieces/";
	public final static String ARR_DIR = IMG_DIR + "arrows/";
	public final static String MAP_DIR = IMG_DIR + "maps/";
	
	//
	public final static int NUMBER_OF_TYPE = 4;
	public final static int NUMBER_OF_PIE = 7;
	
	public final static int PANEL_WIDTH = 900;
	public final static int PANEL_HEIGHT = 680;
	public final static int ROWS = 15;
	public final static int COLS = 21;
	public final static int SEND_ROW = 0;
	public final static int SEND_COL = 10;
	public final static int PADDING = 0;
	public final static int BOX_SIZE = 30;
	public final static int CELL_SIZE = BOX_SIZE + 2 * PADDING;
	public final static int DRAWPANEL_WIDTH = CELL_SIZE * COLS;
	public final static int DRAWPANEL_HEIGHT = CELL_SIZE * ROWS;
	public final static int DRAWPANEL_X = (PANEL_WIDTH - DRAWPANEL_WIDTH)/2;
	public final static int DRAWPANEL_Y = (PANEL_HEIGHT - DRAWPANEL_HEIGHT)/2;
	
	public final static int SCORE_EARN = 30;
	public final static int SCORE_LOST = 10;
	
	// Cell type
	public final static int TYPE_SEND = 64;
	public final static int TYPE_REC = 32;
	public final static int TYPE_ARROW = 17;
	public final static int TYPE_ROAD = 16;
	public final static int TYPE_NONE = 0;
}
